//app.js
var util = require('utils/util.js');
App({
  onLaunch: function () {
    var that = this;
    //console.log('apponLaunch');
    //调用API从本地缓存中获取数据
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs);
  },
  globalData: {
    url: 'https://weixin.xajlnkyjy.com/tp323/jishu.php/Yundong/',
    header: { 'content-type': 'application/x-www-form-urlencoded' }
  }
})